<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="hmg.common.CommonUtils"%>
<%@ page import="hmg.vo.BoardVO"%>
<%--
    JSP Name : jspName.jsp
    Description : 설명을 기술합니다.
    author Kim hyung soo
    since 2012. 9. 13.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 9. 13.     Kim hyung soo     최초 생성
--%>
<%
    BoardVO news = (BoardVO) request.getAttribute("NewsInfo");

    String indexType = CommonUtils.getParameter(request.getParameter("indexType"), "");

    String[] consonant = {"ㄱ", "ㄴ", "ㄷ", "ㄹ", "ㅁ", "ㅂ", "ㅅ", "ㅇ", "ㅈ", "ㅊ", "ㅋ", "ㅌ", "ㅍ", "ㅎ"};
    String[] alphabet = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};

    String title = "";

    if (news.getTitle() != null)
        title = news.getTitle();

    if (news.getSubtitle() != null)
        title += " [" + news.getSubtitle() + "]";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>그룹용어사전 | 현대자동차그룹</title>
<meta name="description" content="현대자동차그룹 용어사전 보기" />
<meta name="keywords" content="현대자동차그룹 용어사전, 현대차그룹 용어사전, 그룹용어사전, 용어사전, 사전" />
<link rel="stylesheet" type="text/css" href="/hmg/css/web/kor/com/content.css" />
<link rel="stylesheet" type="text/css" href="/hmg/css/web/kor/com/jquery.jscrollpane.css" />
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="/hmg/css/web/kor/com/ie7.css" /><![endif]-->
<script type="text/javascript" src="/hmg/js/web/kor/com/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/hmg/js/web/kor/com/googleAnalytics.js"></script>
<style type="text/css">
    html {overflow-y:auto;}
</style>
<script type="text/javascript">
$(document).ready(function() {
    print();
});
</script>
</head>
<body style="background:none">
    <!--contents-->
    <div id="content">
        <!-- 내용 -->
        <div class="dictionary">
            <div class="dictionary_Box mbNone">
                <div class="dictionary_Box mbNone">
                    <div class="dic_Top">
                        <div class="search_Area">
                            <img src="/hmg/images/web/kor/sch/sch_Icon.gif" alt="검색" class="sch_icon"/>
                            <input type="text" id="" title="최신용어" />
                            <img src="/hmg/images/web/kor/btn/btn_search.gif" alt="검색"  class="btn"/>
                            <img src="/hmg/images/web/kor/btn/btn_recentWord.gif" alt="최신용어"  class="btn02"/>
                        </div>
                        <dl class="dic">
                            <dt>가나다순 색인</dt>
                            <dd>
                                <ul class="korean">
<%  for (int idx = 0; idx < consonant.length; idx++) { %>
                                    <li id="newsTab<%= idx %>" class="tab01"><%= consonant[idx] %></li>
<%  } %>
                                </ul>
                            </dd>

                            <dt>알파벳순 색인</dt>
                            <dd>
                                <ul class="english">
<%  for (int idx = 0; idx < alphabet.length; idx++) { %>
                                    <li id="newsTab<%= idx + 14 %>" class="tab14"><%= alphabet[idx] %></li>
<%  } %>
                                </ul>
                            </dd>
                        </dl>
                    </div>
                    <div class="dic_Bot">
                        <p class="title"><%= title %></p>
<%  if (news.getThumbnailImage() != null) { %>
                        <p class="picture"><img src="<%= news.getThumbnailImage() %>" width="382" height="225" border="0" alt="용어사전 사진"/></p>
<%  } %>
                        <p><%= news.getWebContent() %></p>
                    </div>
                </div>
            </div>
        </div>
        <!--// 내용 -->
    </div>
    <!--//contents-->
</body>
</html>